package com.project.service;

import com.project.bean.ReturnPostBean;

import java.util.List;

public interface IReturnPostService {
    /**
     * 添加回帖
     * @param returnPostBean
     */
    public void add(ReturnPostBean returnPostBean);

    /**
     * 按主贴查找回帖
     * @param mainPostId 主贴编号
     * @return 回帖集合
     */
    public List<ReturnPostBean> findByMainPost(int mainPostId);
}
